package br.com.intelsys.iflow.driver.struts;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import br.com.intelsys.iflow.jbpm.IFlowJbpm;

class CfgHandle {
	private List <String> fromList;
	private List <CfgHandleAction> handleList;
	
	List<String> getFromList() {
		return fromList;
	}
	void addFrom(String from) {
		if (this.fromList == null) {
			this.fromList = new ArrayList <String> ();
		}
		this.fromList.add(from);
	}
	
	List<CfgHandleAction> getHandleActionList() {
		return handleList;
	}
	void addHandle(CfgHandleAction handle) {
		if (this.handleList == null) {
			this.handleList = new ArrayList <CfgHandleAction> ();
		}
		this.handleList.add(handle);
	}
	
}
